package  service.inter;

import java.util.Map;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import  entity.Produce;

public interface IProduceService {
	public Produce save(Produce produce);
	
	public boolean delete(String rowid);
	
	public boolean update(Produce produce);
	
	public Produce queryById(String rowid);
	
	public Map query(String start,String limit);
	
	public Map add(String produce,String produceStep,HttpServletRequest request,HttpServletResponse response);
	
	public Map delete(String rowids,HttpServletRequest request,HttpServletResponse response);
	
	public Map update(String produce,String produceStep,HttpServletRequest request,HttpServletResponse response);
}
